package com.ihome.excel.xlsx.test.validaterule;

import java.util.List;

import com.ihome.excel.xlsx.exceptions.RowsBusinessException;
import com.ihome.excel.xlsx.test.entity.Customer;
import com.ihome.excel.xlsx.validate.IRowsValidateRule;

public class CustomerRowsValidate implements IRowsValidateRule {

    @Override
    public void rowValidateRule(Object rowValue) throws RowsBusinessException {        
        Customer mn = (Customer)rowValue;
        System.out.println(mn.toString());
    }
    
    @Override
    public int rowsBatch() {
        return 1;
    }
    

}
